import type { Pool, Connection } from "oracledb"

interface IconnectionDb {
  execute: Function
}

interface Ipool {
  [key: string]: Pool
}

interface Iconnection {
  [key: string]: Promise<Connection>
}

interface IpoolFlag {
  [key: string]: boolean
}

interface IdbConfig {
  _enableStats: boolean
  user: string
  password: string
  connectString: string
  poolAlias: string
}

interface IdataRow {
  [key: string]: string | number
}

export { IconnectionDb, Ipool, Iconnection, IpoolFlag, IdbConfig, IdataRow }
